package org.dev.vlp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dev.vlp.entity.LikeRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 86184
* @description 针对表【vlp_like_relation(点赞-关联表)】的数据库操作Mapper
* @createDate 2023-01-13 17:38:32
* @Entity org.dev.vlp.entity.LikeRelation
*/
@Mapper
public interface LikeRelationMapper extends BaseMapper<LikeRelation> {
    List<LikeRelation> queryByUserTargetTypeTargetIds(@Param("userId") Long userId,
                                                      @Param("targetType") String targetType,
                                                      @Param("targetIdList") List<Long> targetIdList);
}




